package com.lc.cehui.http.request;

import com.hjq.http.config.IRequestApi;

public class CompanyGoodsListApi implements IRequestApi {
    private int page;
    private String type_pid;
    private String type_id;
    private int price;
    private int volume;
    private int state;
    private int news;

    public CompanyGoodsListApi setPage(int page) {
        this.page = page;
        return this;
    }

    public CompanyGoodsListApi setType_pid(String type_pid) {
        this.type_pid = type_pid;
        return this;
    }

    public CompanyGoodsListApi setType_id(String type_id) {
        this.type_id = type_id;
        return this;
    }

    public CompanyGoodsListApi setPrice(int price) {
        this.price = price;
        return this;
    }

    public CompanyGoodsListApi setVolume(int volume) {
        this.volume = volume;
        return this;
    }

    public CompanyGoodsListApi setState(int state) {
        this.state = state;
        return this;
    }

    public CompanyGoodsListApi setNews(int news) {
        this.news = news;
        return this;
    }

    @Override
    public String getApi() {
        return "api/company_goods_list";
    }
}
